/** demoks 工具库
 *  
 */
#include "include.h"

void array_to_hex_str(uint8_t *in, int inlen, char *str)
{
    for (int i = 0; i < inlen; i++)
    {
        if (i == 0)
            sprintf(str, "%02X", in[i]);
        else
            sprintf(str + strlen(str), "%02X", in[i]);
    }
}
